<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="/v1/h5/pages/public/head.jsp"%>

<div id="ldhStore">
	<!-- 接受参数 -->
	<input type="hidden" id="shopId" value="${param.shopId}" />
	<div data-role="header" class="header_fixed">
		<a data-role="none" data-rel="back" class="back_btn">返回</a>
		<h1>
			<a rel="external" href="${ctx}/h5/shopDetail/${param.shopId}.shtml" id="topShopName"></a>
		</h1>
		<!-- <a data-role="none" class="search" href="#"></a> 搜索-->
		<div class="store_neck clearfix border_btm ui-grid-a">
			<div class="store_classify ui-block-a">
				<span id="shopMerchandiseTypeName">分类</span>
			</div>
			<!--  <div class="store_notice ui-block-b"><span id="topIntroduce"></span></div> -->
			<div class="store_classify_list">
				<div class="ui-grid-a">
					<div class="ui-block-a" style="width: 100%;">
						<ul id="shopMerchandiseTypeList">

						</ul>
					</div>
					<div class="ui-block-b">
						<ul id="shopMerchandiseChildTypeList">

						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div data-role="content">
		<div class="store_goods">
			<ul id="shopMerchandiseList">

			</ul>
			<div class="text-center checkmore"
				onclick="$ldh_shop.loadMoreShopMerchandise()" style="display: none;">
				<a class="ui-link"><span>加载更多</span><i class="icon_unfold"></i></a>
			</div>
			<!--    <div class="store_goods_btm clearfix">
                <button type="button" data-theme="b" class="putIncart float-right" onClick="window.location.href='#ldhCart'">购物车<b>(<em id="cartNum"></em>)</b></button>
                
                
            </div>
             -->
			<div class="store_goods_btm clearfix">
				<div class="store_goods_total">
					合计:<span class="main_color">¥<em>0</em></span><span
						class="main_color">(数量:<em>0</em>)
					</span>
				</div>
				<button type="button" data-theme="b" class="putIncart float-right"
					onClick="$ldh_shop.addCart()">加入购物车</button>
			</div>
		</div>
	</div>

	<script type="text/javascript">
		seajs.use([ ctx + '/v1/h5/js/custom/shop/module-shop.js?'
				+ Date.parse(new Date()) ], function(m) {
			m.init(m);
			m.getShopMerchandiseType();
			m.getShopMerchandise();
			m.getShopNameById($ldh_base.getParameter("shopId"));

		});
	</script>
</div>
<%@ include file="/v1/h5/pages/public/footer.jsp"%>
